package com.plugin.helloworld;

import org.gradle.api.tasks.Input;

public class HelloWorldData {
    private String name;
    private int age;

    public HelloWorldData(String name, int age){
        this.name = name;
        this.age = age;
    }

    @Input
    public String getName() {
        return name;
    }

    @Input
    public int getAge() {
        return age;
    }

    @Override
    public String toString() {
        return "Hello "+age+" years old "+name+" !";
    }
}
